package com.ihg.hiex.admin.dao.session;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.ihg.hiex.entity.session.during.SessionExercise;
import com.ihg.hiex.entity.session.during.SessionExerciseReflection;

/**
 * 
 * @author dan
 *
 */
@Dao("hibernate")
public interface SessionExerciseReflectionDao {
    
    /**
     * 
     * @param sessionExercise
     * @return
     */
    @Query("FROM SessionExerciseReflection WHERE disabled = false AND sessionExercise = :sessionExercise")
    public SessionExerciseReflection load(@Variable("sessionExercise") SessionExercise sessionExercise);

}
